<#if (page.pageTotalCount && pageTotalCount gt 1>
<div class="page-box clearfix">
    <div class="page clearfix">
        <div style="float: left">
            <input type="hidden" id="_id_pageNum" name="pageNum" value="${page.pageNum}">
            <#if !page.firstPage>
            <a href="javascript:void(0);" onclick="_queryPage('1')" class="pageNext">首页</a>
            <a href="javascript:void(0);" onclick="_queryPage('${page.pageNum-1}')" class="pageNext">上一页</a>
            </#if>
        <#list page.showNums as n>
            <#if page.showDot && n_index==6>
                <div class="page-omit">...</div>
            </#if>
            <#if page.pageNum==n>
            <a href="javascript:void(0);" class="page-cur">${n}</a>
            <#else>
            <a href="javascript:void(0);" class="page-num" onclick="_queryPage('${n}')">${n}</a>
            </#if>
        </#list>
        <#if !page.lastPage>
            <a class="page-next" href="javascript:void(0);"  onclick="_queryPage('${page.pageNum+1}')">下一页</a>
            <a class="page-next" href="javascript:void(0);"  onclick="_queryPage('${page.pageTotalCount!}')">尾 页</a>
        </#if>
        </div>
    </div>
</div>
<script type="text/javascript">
    function _queryPage(page) {
        if (page!=undefined){
            $('#_id_pageNum').val(page);
        }
        var query=$('#queryPageForm').attr('queryPage');
        if (query&&Number(query)==1){
            queryPage(page);
        }else {
            $('#queryPageForm').submit();
        }
    }
</script>